package com.example.telesys.service;


import com.example.telesys.pojo.Customerorder;

import java.util.List;

public interface CustomerorderService {
    int insertPhoneOrder(Customerorder customerorder);

    List<Customerorder> selectMyOrders(String username);

    int insertBroadbandOrder(Customerorder customerorder);

    int insertTrafficOrder(Customerorder customerorder);

    List<Customerorder> selectAllCustomerOrders();

    List<Customerorder> selectCustomerAndNumber();

    List<Customerorder> selectYearlyOrder(String username, String year);

    int setOrderStatus(String role, String orderid, Integer code);

    List<Customerorder> selectCustomerOrdersByOrderId(String orderid);
}
